import request from '@/utils/request';

// 人员走势
export function getRyzs(params) {
    return request('/api/oa/v1/analyse/employeetrend', {
        method: 'POST',
        data: params
    });
}

// 员工部门分部
export function getYgbmfb(params) {
    return request('/api/oa/v1/analyse/orgdistribution', {
        method: 'POST',
        data: params
    });
}

// 司龄分部
export function getSlfb(params) {
    return request('/api/oa/v1/analyse/entryagedistribution', {
        method: 'POST',
        data: params
    });
}

// 职位分部
export function getGwfb(params) {
    return request('/api/oa/v1/analyse/postdistribution', {
        method: 'POST',
        data: params
    });
}
